/*
 * testFunctions.c
 *
 * Created: 27.03.2014 16:50:22
 *  Author: markus.hufschmid
 */ 
#include <stdio.h>
#include "globals.h"
#include "OLED.h"
#include "testFunctions.h"

void show_measurements(void){
	char printString[10];

	sprintf(printString,"%+3d.%1d C",temperature/10, abs(temperature)%10);
	Show_String(1,printString,0xFF,0xFF,0x00,0x10);
	sprintf(printString,"%4u hPa",pressure_mbar);
	Show_String(1,printString,0xFF,0xFF,0x00,0x20);
}